﻿@model RegisterViewModel
@{
    Layout = null;
}

@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "register-form", role = "form" }))
{
    @Html.AntiForgeryToken()
    <h3 class="tahomaFont" style="color: black;">فرم عضویت</h3>
    <p class="tahomaFont">
        اطلاعات شخصی
    </p>

    <div class="form-group">
        <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
        <label class="control-label visible-ie8 visible-ie9">Email</label>
        <div class="input-icon">
            <i class="fa fa-envelope"></i>
            @Html.TextBoxFor(m => m.Email, new { @class = "form-control placeholder-no-fix", type = "email", required = "required", placeholder = "HassanHashemi@yahoo.com" })
        </div>
    </div>

    <div class="form-group">
        <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
        <label class="control-label visible-ie8 visible-ie9">Email</label>
        <div class="input-icon">
            <i class="fa fa-envelope"></i>
            @Html.TextBoxFor(m => m.FirstName, new { @class = "form-control placeholder-no-fix", required = "required", placeholder = "حسن" })
        </div>
    </div>
    <div class="form-group">
        <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
        <label class="control-label visible-ie8 visible-ie9">Email</label>
        <div class="input-icon">
            <i class="fa fa-envelope"></i>
            @Html.TextBoxFor(m => m.LastName, new { @class = "form-control placeholder-no-fix", required = "required", placeholder = "هاشمی" })
        </div>
    </div>

    <p class="tahomaFont">
        اطلاعات حساب در این قسمت وارد شود
    </p>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9 tahomaFont" style="display: block;">کلمه عبور</label>
                <div class="input-icon">
                    <i class="fa fa-lock"></i>
                    @Html.PasswordFor(m => m.Password, new { @class = "form-control placeholder-no-fix", id = "register_password", placeholder = "****" })
                </div>
            </div>
            <div class="form-group">
                <label class="control-label visible-ie8 visible-ie9">Re-type Your Password</label>
                <div class="controls">
                    <div class="input-icon">
                        <i class="fa fa-check"></i>
                        @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control placeholder-no-fix", id = "register_password", placeholder = "****" })
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="tahomaFont" style="font-size:13px; width:100%; color: #750c0c;">
                    <input type="checkbox" name="tnc" /> با تمامی قوانین سایت آشنا هستم و آنرا می پذیرم
                </label>
                <div id="register_tnc_error">
                </div>
            </div>

            <div class="form-actions">
                <button id="register-back-btn" type="button" class="btn">
                    <i class="m-icon-swapleft"></i> بازگشت
                </button>
                <button type="submit" id="register-submit-btn" class="btn blue pull-right">
                    ثبت نام <i class="m-icon-swapright m-icon-white"></i>
                </button>
            </div>
}